import React, { Component } from 'react'

export default class InputEle extends Component {
    render() {

        let { validate, content, type, info } = this.props;
        return (
            <div>
                <label>{content}</label>
                <input type={type} onBlur={validate} />
                <span>{info}</span>
            </div>
        )

    }
}
